package com.gitee.wsl.mathematics.matrix.mat3.ext


import com.gitee.wsl.mathematics.matrix.M
import com.gitee.wsl.mathematics.matrix.N
import com.gitee.wsl.mathematics.matrix.mat3.MutableMatrix3
import com.gitee.wsl.mathematics.vector.vec3.Vector3


fun <T:Number> MutableMatrix3<T, *, *>.setRow(m0: Vector3<T, *>, m1: Vector3<T, *>, m2: Vector3<T, *>){
    M[0]=m0
    M[1]=m1
    M[2]=m2
}

fun <T:Number> MutableMatrix3<T, *, *>.setCol(m0: Vector3<T, *>, m1: Vector3<T, *>, m2: Vector3<T, *>){
    N[0]=m0;N[1]=m1;N[2]=m2
}